import type { UserInfoVo } from './UserInfo'

type TbMessage = {
  mrid: number
  mid: number
  uid: number
  title: string
  info: string
  hits: number
  praise: number
  reply: number
  lastupdate: number
  user: UserInfoVo
  exInfo: TbMessageExInfo
}

type TbMessageExInfo = {
  praised: boolean
  mine: false
}

type TbMessageReply = {
  mrid: number
  mid: number
  uid: number
  info: string
  praise: number
  lastupdate: number
  user: UserInfoVo
  exInfo: TbMessageExInfo
}

export type { TbMessage, TbMessageExInfo, TbMessageReply }
